<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <jsp:useBean id="encode" class="com.util.Encode" scope="request"></jsp:useBean>
<%
	String username=request.getParameter("username");
	String password=request.getParameter("password");
	String checkCode=request.getParameter("checkCode");
	checkCode=encode.ecodeByMD5(checkCode);
	
	if(!checkCode.equals(session.getAttribute("randCheckCode"))){
		out.println("<script>alert('您输入的验证码不正确！');history.back(-1);</script>");
	}
%>
<html>
<head>
<title></title>
</head>
<body>
success!
</body>
</html>